package DAO;

import java.util.Vector;

public class CompoRequete {

	private static final String slt = "SELECT";
	private static final String fro = "FROM";
	private static final String whr = "WHERE";
	private static final String oplus = "AND";
	private static final String omoins = "OR";
	private static final String tri = "ORDER BY";
	private static final String grp = "GROUP BY";
	private static final String hav = "HAVING";
	private String select;
	private String from;
	
	public String getSelect(Vector<String>vec){
		for (int i=0; i<vec.size(); i++){
			select = vec.get(i) + ",";
		}
		return select;
	}
	public String getFrom(Vector<String>vec){
		for (int i=0; i<vec.size(); i++){
			if (vec.get(i+1) != null){
				select = vec.get(i) + ",";
			}
		}
		return from;
	}
	
}
